﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="FitCalc._Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(InitPage);
        function InitPage() {
            $(".runnerImage").css("left", 800);
        $(".runnerImage").animate({"left": "-=350px"}, "slow");

//                $(".runnerImage").animate
//                (
//                    {
//                        left: 200
//                    },
//                    {
//                        duration: 1000,
//                        step: function (now, fx)
//                        {
//                            $(".runnerImage").css("left", now);
//                        }
//                    }
//                )
        }
    </script>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to Fitness calculator!
    </h2>
    <p>
        This site will help you with some fitness math.
    </p>
    <asp:Image ID="Image1" runat="server" Width="100" ImageUrl="~/Content/RunnerSmall.gif"
        CssClass="runnerImage" />
</asp:Content>
